import canvasAbstract from "./canvasAbstract";
import config from "../../config";
import model from "../model/straw";

class straw extends canvasAbstract implements ICanvas{
  constructor() {
    super('straw')
  }
  render(): void {
    super.createModels()
    super.renderModels()
  }

  model(): ModelConstructor {
    return model
  }

  num(): number {
    return config.straw.num
  }
}

export default new straw()
